package c.b.a.c.a.c;

import android.os.IBinder;
import android.os.IInterface;

public abstract class i0 extends f0 implements j0 {
    public static j0 y0(IBinder iBinder) {
        if (iBinder == null) {
            return null;
        }
        IInterface queryLocalInterface = iBinder.queryLocalInterface("com.google.android.play.core.appupdate.protocol.IAppUpdateService");
        return queryLocalInterface instanceof j0 ? (j0) queryLocalInterface : new h0(iBinder);
    }
}
